package config;

import impl.UserServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@EnableDao
@Configuration
public class MainConfig {
    @Bean
    public UserServiceImpl userService(){
        return new UserServiceImpl();
    }
}
